package data;

import java.util.ArrayList;

public class RTEPreprocessedData {
	
	public static ArrayList<RTEPreprocessedData> rtePreprocessedDataList;
	static {
		rtePreprocessedDataList = new ArrayList<RTEPreprocessedData>();
	}
	
	private int id;
	private boolean entailment;
	
	private ArrayList<RTESentence> textSentences;
	private ArrayList<RTESentence> hypothesisSentences;
	private float lemmaMatchPercentage;
	private float lemmaPosTagMatchPercentage;
	private float biGramMatchPercentage;


	public RTEPreprocessedData(int id, boolean entailment, ArrayList<RTESentence> text, ArrayList<RTESentence> hypothesis) {
		this.id = id;
		this.entailment = entailment;
		this.textSentences = text;
		this.hypothesisSentences = hypothesis;
		
		rtePreprocessedDataList.add(this);
//		System.out.println("added pair " + id + " with #" + text.size() + "t size and #" + hypothesis.size() + "h size");
	}

	public int getId() {
		return id;
	}

	public boolean isEntailment() {
		return entailment;
	}

	public ArrayList<RTESentence> getTextSentences() {
		return textSentences;
	}

	public ArrayList<RTESentence> getHypothesisSentences() {
		return hypothesisSentences;
	}
	
	public float getLemmaMatchPercentage() {
		return lemmaMatchPercentage;
	}

	public void setLemmaMatchPercentage(float lemmaMatchPercentage) {
		this.lemmaMatchPercentage = lemmaMatchPercentage;
	}

	public float getLemmaPosTagMatchPercentage() {
		return lemmaPosTagMatchPercentage;
	}

	public void setLemmaPosTagMatchPercentage(float lemmaPosTagMatchPercentage) {
		this.lemmaPosTagMatchPercentage = lemmaPosTagMatchPercentage;
	}
	
	public float getBiGramMatchPercentage() {
		return biGramMatchPercentage;
	}
	
	public void setBiGramMatchPercentage(float biGramMatchPercentage) {
		this.biGramMatchPercentage = biGramMatchPercentage;
	}
}
